![]() |
CE Gobi SDK
2.7
GobiApi
|
Functions | |
| IMPORTGOBI ULONG GOBICMAPI | SetPDSStateCallback (tFNPDSState pCallback) |
| IMPORTGOBI ULONG GOBICMAPI | SetNMEACallback (tFNNewNMEA pCallback) |
| QCIMPORT2K ULONG QCWWANAPI2K | SetNMEAPlusCallback (tFNNewNMEAPlus pCallback) |
| IMPORTGOBI ULONG GOBICMAPI | GetServiceAutomaticTracking (ULONG *pbAuto) |
| IMPORTGOBI ULONG GOBICMAPI | SetServiceAutomaticTracking (ULONG bAuto) |
| IMPORTGOBI ULONG GOBICMAPI | GetPortAutomaticTracking (ULONG *pbAuto) |
| IMPORTGOBI ULONG GOBICMAPI | SetPortAutomaticTracking (ULONG bAuto) |
| IMPORTGOBI ULONG GOBICMAPI | ResetPDSData (ULONG *pGPSDataMask, ULONG *pCellDataMask) |
| IMPORTGOBI ULONG GOBICMAPI | GetAGPSProtocol (ULONG *pProtocol) |
| IMPORTGOBI ULONG GOBICMAPI | SetAGPSProtocol (ULONG protocol) |
| IMPORTGOBI ULONG GOBICMAPI | GetAGPSConfig (ULONG *pServerAddress, ULONG *pServerPort) |
| IMPORTGOBI ULONG GOBICMAPI | SetAGPSConfig (ULONG serverAddress, ULONG serverPort) |
| IMPORTGOBI ULONG GOBICMAPI | GetXTRATimeState (ULONG *pState) |
| IMPORTGOBI ULONG GOBICMAPI | SetXTRATimeState (ULONG state) |
| IMPORTGOBI ULONG GOBICMAPI | ForceXTRADownload () |
| IMPORTGOBI ULONG GOBICMAPI | GetXTRADataState (ULONG *pState) |
| IMPORTGOBI ULONG GOBICMAPI | SetXTRADataState (ULONG state) |
| IMPORTGOBI ULONG GOBICMAPI | GetXTRAValidity (USHORT *pGPSWeek, USHORT *pGPSWeekOffset, USHORT *pDuration) |
| IMPORTGOBI ULONG GOBICMAPI | GetPDSState (ULONG *pEnabled, ULONG *pTracking) |
| IMPORTGOBI ULONG GOBICMAPI | SetPDSState (ULONG enable) |
| IMPORTGOBI ULONG GOBICMAPI | PDSInjectTimeReference (ULONGLONG systemTime, USHORT systemDiscontinuities) |
| IMPORTGOBI ULONG GOBICMAPI | GetPDSDefaults (ULONG *pOperation, BYTE *pTimeout, ULONG *pInterval, ULONG *pAccuracy) |
| IMPORTGOBI ULONG GOBICMAPI | SetPDSDefaults (ULONG operation, BYTE timeout, ULONG interval, ULONG accuracy) |
| IMPORTGOBI ULONG GOBICMAPI | GetXTRAAutomaticDownload (ULONG *pbEnabled, USHORT *pInterval) |
| IMPORTGOBI ULONG GOBICMAPI | SetXTRAAutomaticDownload (ULONG bEnabled, USHORT interval) |
| IMPORTGOBI ULONG GOBICMAPI | GetXTRANetwork (ULONG *pPreference) |
| IMPORTGOBI ULONG GOBICMAPI | SetXTRANetwork (ULONG preference) |
| QCIMPORT2K ULONG QCWWANAPI2K | StartPDSTrackingSession (ULONG fixInterval) |
| QCIMPORT2K ULONG QCWWANAPI2K | StopPDSTrackingSession () |
| IMPORTGOBI ULONG GOBICMAPI ForceXTRADownload | ( | ) |
This function forces the XTRA database to be downloaded to the device QMI_PDS_FORCE_XTRA_DOWNLOAD_MSG 0x002D
| IMPORTGOBI ULONG GOBICMAPI GetAGPSConfig | ( | ULONG * | pServerAddress, |
| ULONG * | pServerPort | ||
| ) |
This function returns the PDS AGPS configuration QMI_PDS_GET_AGPS_CONFIG_MSG 0x002E
| pServerAddress | [ O ] - IPv4 address of AGPS server |
| pServerPort | [ O ] - Port number of AGPS server |
| IMPORTGOBI ULONG GOBICMAPI GetAGPSProtocol | ( | ULONG * | pProtocol | ) |
This function gets the network type for AGPS commands
| pProtocol | [ O ] - Network mode |
| IMPORTGOBI ULONG GOBICMAPI GetPDSDefaults | ( | ULONG * | pOperation, |
| BYTE * | pTimeout, | ||
| ULONG * | pInterval, | ||
| ULONG * | pAccuracy | ||
| ) |
This function returns the default tracking session configuration QMI_PDS_GET_DEFAULT_TRACKING_SESSION_MSG = 0x0029
| pOperation | [ O ] - Current session operating mode |
| pTimeout | [ O ] - Maximum amount of time (seconds) to work on each fix |
| pInterval | [ O ] - Interval (milliseconds) between fix requests |
| pAccuracy | [ O ] - Current accuracy threshold (meters) |
| IMPORTGOBI ULONG GOBICMAPI GetPDSState | ( | ULONG * | pEnabled, |
| ULONG * | pTracking | ||
| ) |
This function returns the current PDS state QMI_PDS_GET_GPS_SERVICE_STATE_MSG = 0x0020
| pEnabled | [ O ] - Current PDS state (0 = disabled) |
| pTracking | [ O ] - Current PDS tracking session state |
| IMPORTGOBI ULONG GOBICMAPI GetPortAutomaticTracking | ( | ULONG * | pbAuto | ) |
This function returns the automatic tracking configuration for the NMEA COM port QMI_PDS_GET_COM_PORT_CONFIG_MSG 0x0032
| pbAuto | [ O ] - Automatic tracking enabled for NMEA COM port? |
| IMPORTGOBI ULONG GOBICMAPI GetServiceAutomaticTracking | ( | ULONG * | pbAuto | ) |
This function returns the automatic tracking state for the service QMI_PDS_GET_AUTO_TRACKING_STATE_MSG 0x0030
| pbAuto | [ O ] - Automatic tracking session started for service? |
| IMPORTGOBI ULONG GOBICMAPI GetXTRAAutomaticDownload | ( | ULONG * | pbEnabled, |
| USHORT * | pInterval | ||
| ) |
This function returns the XTRA automatic download configuration QMI_PDS_GET_XTRA_PARAMETERS_MSG = 0x002B
| pbEnabled | [ O ] - Automatic download enabled? |
| pInterval | [ O ] - Interval (hours) between XTRA downloads |
| IMPORTGOBI ULONG GOBICMAPI GetXTRADataState | ( | ULONG * | pState | ) |
This function returns the XTRA data positioning state QMI_PDS_GET_POSITION_METHOD_STATE_MSG 0x0050
| pState | [ O ] - XTRA data positioning state |
| IMPORTGOBI ULONG GOBICMAPI GetXTRANetwork | ( | ULONG * | pPreference | ) |
This function returns the XTRA WWAN network preference QMI_PDS_GET_XTRA_PARAMETERS_MSG = 0x002B
| pPreference | [ O ] - XTRA WWAN network preference |
| IMPORTGOBI ULONG GOBICMAPI GetXTRATimeState | ( | ULONG * | pState | ) |
This function returns the XTRA time positioning state
| pState | [ O ] - XTRA time positioning state |
| IMPORTGOBI ULONG GOBICMAPI GetXTRAValidity | ( | USHORT * | pGPSWeek, |
| USHORT * | pGPSWeekOffset, | ||
| USHORT * | pDuration | ||
| ) |
This function returns the XTRA database validity period QMI_PDS_GET_XTRA_PARAMETERS_MSG 0x002B
| pGPSWeek | [ O ] - Starting GPS week of validity period |
| pGPSWeekOffset | [ O ] - Starting GPS week offset (minutes) of validity period |
| pDuration | [ O ] - Length of validity period (hours) |
| IMPORTGOBI ULONG GOBICMAPI PDSInjectTimeReference | ( | ULONGLONG | systemTime, |
| USHORT | systemDiscontinuities | ||
| ) |
This function injects a system time into the PDS engine QMI_PDS_INJECT_TIME_REF_MSG = 0x0028
| systemTime | [ I ] - System time |
| systemDiscontinuities | [ I ] - Number of system time discontinuities |
| IMPORTGOBI ULONG GOBICMAPI ResetPDSData | ( | ULONG * | pGPSDataMask, |
| ULONG * | pCellDataMask | ||
| ) |
This function resets the specified PDS data QMI_PDS_RESET_GPS_SERVICE_DATA_MSG 0x0034
| pGPSDataMask | [ I ] - Bitmask of GPS data to clear (optional) |
| pCellDataMask | [ I ] - Bitmask of cell data to clear (optional) |
| IMPORTGOBI ULONG GOBICMAPI SetAGPSConfig | ( | ULONG | serverAddress, |
| ULONG | serverPort | ||
| ) |
This function sets the PDS AGPS configuration QMI_PDS_SET_AGPS_CONFIG_MSG 0x002F
| serverAddress | [ I ] - IPv4 address of AGPS server |
| serverPort | [ I ] - Port number of AGPS server |
| IMPORTGOBI ULONG GOBICMAPI SetAGPSProtocol | ( | ULONG | protocol | ) |
This function sets the network type for AGPS commands
| protocol | [ I ] - Network mode |
| IMPORTGOBI ULONG GOBICMAPI SetNMEACallback | ( | tFNNewNMEA | pCallback | ) |
This function enables/disables the NMEA sentence callback function QMI_PDS_SET_EVENT_REPORT 0x0001
| pCallback | [ I ] - Callback function (0 = disable) |
| QCIMPORT2K ULONG QCWWANAPI2K SetNMEAPlusCallback | ( | tFNNewNMEAPlus | pCallback | ) |
This function enables/disables the NMEA sentence plus mode callback function
| pCallback | [ I ] - Callback function (0 = disable) |
| IMPORTGOBI ULONG GOBICMAPI SetPDSDefaults | ( | ULONG | operation, |
| BYTE | timeout, | ||
| ULONG | interval, | ||
| ULONG | accuracy | ||
| ) |
This function sets the default tracking session configuration QMI_PDS_SET_DEFAULT_TRACKING_SESSION_MSG = 0x002A
| operation | [ I ] - Desired session operating mode |
| timeout | [ I ] - Maximum amount of time (seconds) to work on each fix |
| interval | [ I ] - Interval (milliseconds) between fix requests |
| accuracy | [ I ] - Desired accuracy threshold (meters) |
| IMPORTGOBI ULONG GOBICMAPI SetPDSState | ( | ULONG | enable | ) |
This function sets the PDS state
| enable | [ I ] - Desired PDS state (0 = disable) |
| IMPORTGOBI ULONG GOBICMAPI SetPDSStateCallback | ( | tFNPDSState | pCallback | ) |
This function enables/disables the PDS service state callback function QMI_PDS_GPS_SERVICE_STATE_IND_MSG 0x20
| pCallback | [ I ] - Callback function (0 = disable) |
| IMPORTGOBI ULONG GOBICMAPI SetPortAutomaticTracking | ( | ULONG | bAuto | ) |
This function sets the automatic tracking configuration for the NMEA COM port QMI_PDS_SET_COM_PORT_CONFIG_MSG 0x0033
| bAuto | [ I ] - Enable automatic tracking for NMEA COM port? |
| IMPORTGOBI ULONG GOBICMAPI SetServiceAutomaticTracking | ( | ULONG | bAuto | ) |
This function sets the automatic tracking state for the service QMI_PDS_SET_AUTO_TRACKING_STATE_MSG 0x0031
| bAuto | [ I ] - Start automatic tracking session for service? |
| IMPORTGOBI ULONG GOBICMAPI SetXTRAAutomaticDownload | ( | ULONG | bEnabled, |
| USHORT | interval | ||
| ) |
This function sets the XTRA automatic download configuration QMI_PDS_SET_XTRA_PARAMETERS_MSG = 0x002C
| bEnabled | [ I ] - Automatic download enabled? |
| interval | [ I ] - Interval (hours) between XTRA downloads |
| IMPORTGOBI ULONG GOBICMAPI SetXTRADataState | ( | ULONG | state | ) |
This function sets the XTRA data positioning state
| state | [ I ] - XTRA data positioning state |
| IMPORTGOBI ULONG GOBICMAPI SetXTRANetwork | ( | ULONG | preference | ) |
This function sets the XTRA WWAN network preference QMI_PDS_SET_XTRA_PARAMETERS_MSG = 0x002C
| preference | [ I ] - XTRA WWAN network preference |
| IMPORTGOBI ULONG GOBICMAPI SetXTRATimeState | ( | ULONG | state | ) |
This function sets the XTRA time positioning state QMI_PDS_SET_POSITION_METHOD_STATE_MSG 0x0051
| state | [ I ] - XTRA time positioning state |
| QCIMPORT2K ULONG QCWWANAPI2K StartPDSTrackingSession | ( | ULONG | fixInterval | ) |
This function starts a PDS tracking session(Deprecated)
NOTE: Only one tracking session can be active at any given time
| fixInterval | [ I ] - Time in milliseconds between fixes |
| QCIMPORT2K ULONG QCWWANAPI2K StopPDSTrackingSession | ( | ) |
This function stops a PDS tracking session(Deprecated)